﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="iArtis.Extensions" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ExpertTour
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="<%= Html.AppPath() %>/Scripts/jquery.timers-1.1.2.js" type="text/javascript"></script>

    <script src="<%= Html.AppPath() %>/Scripts/jquery.easing.1.3.js" type="text/javascript"></script>

    <script src="<%= Html.AppPath() %>/Scripts/jquery.galleryview-1.1.js" type="text/javascript"></script>

    <script type="text/javascript" language="javascript">
        $(document).ready(function() {
            $('#photos').galleryView({
                panel_width: 635,
                panel_height: 400,
                frame_width: 50,
                frame_height: 40,
                transition_speed: 500,
                background_color: '#222',
                border: 'none',
                easing: 'easeInOutBack',
                pause_on_hover: true,
                nav_theme: 'custom',
                overlay_height: 52,
                filmstrip_position: 'top',
                overlay_position: 'top'
            });
        });
    </script>

    <table name="capabality" class="portfolio">
        <tr>
            <td colspan="2">
                <h3>
                    <strong>ExpertTour</strong>
                </h3>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="desc">
                <h4>
                    <strong>
                        <% if (Html.CurrentLanguageCode() == "ru")
                           { %>
                        Представительский сайт, посвящённый туризму и путешествиям. Пользователь может ознакомится
                        с интересующими его странами и выбрать наиболее подходящий тур. При возникновении
                        вопросов можно связаться с контактным лицом в наиболее удобном варианте. Для управляющего
                        лица доступно редактирование любого содержания через удобную административную панель:
                        страны, туры, расположения и т.п. Разработка производилась "под ключ". Сайт имеет
                        простой и интуитивно-понятный дизайн.
                        <% }
                           else
                           { %>
                        The representation site devoted to tourism and travel. The user can will familiarise
                        with its interesting countries and to select the most suitable round. At occurrence
                        of questions it is possible to contact the contact person in the most convenient
                        variant. Editing of any maintenance is accessible to the controlling person through
                        the convenient management panel: the countries, rounds, layouts, etc. Development
                        was made "on a turn-key basis". The site has simple and intuitively-clear design.
                        <% } %>
                    </strong>
                </h4>
            </td>
        </tr>
        <tr>
            <td class="price">
                <h4>
                    <strong>
                        <%= Html.Resource("Services, Price")%>: 150-200
                        <%= Html.Resource("Services, Currency")%></strong></h4>
            </td>
            <td class="time">
                <h4>
                    <strong>
                        <%= Html.Resource("Services, PerformancePeriod")%>: 15
                        <%= Html.Resource("Services, Days")%></strong></h4>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="link">
                <h4>
                    <%= Html.Resource("Services, Link")%>: <a href="http://belarus-travel.eu">http://belarus-travel.eu</a>
                </h4>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 500px">
                <div id="gallery_wrap" style="height: 430px">
                    <div id="photos" class="galleryview">
                        <% var dir = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + "Content\\images\\portfolio\\ExpertTour");
                           try
                           {
                               foreach (var image in dir.GetFiles())
                               {
                                   string path = Html.AppPath() + "/Content/images/portfolio/ExpertTour/" + image.Name;%>
                        <div class="panel" style="text-align: center">
                            <img src="<%= path %>" alt="image" width="500" height="400" />
                        </div>
                        <% } %>
                        <ul class="filmstrip">
                            <% foreach (var image in dir.GetFiles())
                               {
                                   string path = Html.AppPath() + "/Content/images/portfolio/ExpertTour/" + image.Name;%>
                            <li>
                                <img src="<%= path %>" height="40px" width="50px" alt="thumb" />
                            </li>
                            <% } %>
                        </ul>
                        <% }
                           catch { } %>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
